package com.douglas.managesystem.service.system;

import com.douglas.managesystem.common.SearchEntity;
import com.douglas.managesystem.entity.system.Menu;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface MenuService {

    List<Menu> selectMenuByUserId(String userId);

    PageInfo<Menu> selectAllMenuByPage(SearchEntity params);

    void addMenu(Menu menu);

    void editMenu(Menu menu);

    Menu selectMenuById(String id);

    void delete(String id);
}
